package action.board;

import java.sql.SQLException;

import service.BoardService;

public class BoardDeleteAdminAction
{
	private BoardService boardService;
	private int no;
	private String member_id;
	
	public void setBoardService(BoardService boardService) {
		this.boardService = boardService;
	}
	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	public String getMember_id() {
		return member_id;
	}
	public void setMember_id(String memberId) {
		member_id = memberId;
	}
	public String execute() throws SQLException
	{
		boardService.getDeleteBoardAdmin(no, member_id);
		return "success";
	}
}